/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
 * Author: Huawei OS Kernel Lab
 * Create: Thu Aug 15 16:14:23 2023
 */

#ifndef __LIBILNUX_ASM_CPUTYPE_H
#define __LIBILNUX_ASM_CPUTYPE_H

#define read_cpuid_id		____read_cpuid_id
#define read_cpuid_mpidr	____read_cpuid_mpidr
#include_next <asm/cputype.h>
#undef read_cpuid_id
#undef read_cpuid_mpidr

#ifndef __ASSEMBLY__
static inline u32 __attribute_const__ read_cpuid_id(void)
{
	return (u32)-1;
}

static inline u64 __attribute_const__ read_cpuid_mpidr(void)
{
	return (u64)-1;
}
#endif

#endif
